package com.doeis.uwork.bean;

import java.util.List;


public class DoeisItemAssist extends ItemAssist {
	private static final long serialVersionUID = -5624795316828981728L;
	
	private List<ItemData>  listItemData ;
	private String note;
	private String shareid;
	private String shareuserid;//共享人userid，现在只能查到最原始的那一个人
	private String sharename;//共享人姓名
	private Integer scope; //共享范围不能为空
	private Integer original_data_source;//这个条款的最原始的指数类型
	private String original_item_id;//这个条款的最原始的指数ID
	
	private Boolean show_note;//是否能查看我的心得
	private String user_id;
	private String user_name;
	private String creator;
	private String creator_name;
	private String pname;
	private String attrs;
	
	private boolean myWork;
	private boolean todayWork;
	public boolean allowSortCalc= false; //是否允许万灵计算
	
	private Double year_value,year_on_year;//同比===以11月为例，跟去年11月叫同比，跟上个月10月比叫环比
	private Double link_relative_value,link_relative_ratio;//环比
	private Integer hncusercount;
	public String unit;//单位
	
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public Double getYear_value() {
		return year_value;
	}
	public void setYear_value(Double year_value) {
		this.year_value = year_value;
	}
	public Double getLink_relative_value() {
		return link_relative_value;
	}
	public void setLink_relative_value(Double link_relative_value) {
		this.link_relative_value = link_relative_value;
	}
	public Integer getHncusercount() {
		return hncusercount;
	}
	public void setHncusercount(Integer hncusercount) {
		this.hncusercount = hncusercount;
	}
	public Double getYear_on_year() {
		return year_on_year;
	}
	public void setYear_on_year(Double year_on_year) {
		this.year_on_year = year_on_year;
	}
	public Double getLink_relative_ratio() {
		return link_relative_ratio;
	}
	public void setLink_relative_ratio(Double link_relative_ratio) {
		this.link_relative_ratio = link_relative_ratio;
	}
	public Integer getScope() {
		return scope;
	}
	public void setScope(Integer scope) {
		this.scope = scope;
	}
	public String getShareid() {
		return shareid;
	}
	public void setShareid(String shareid) {
		this.shareid = shareid;
	}
	public String getShareuserid() {
		return shareuserid;
	}
	public void setShareuserid(String shareuserid) {
		this.shareuserid = shareuserid;
	}
	public boolean isAllowSortCalc() {
		return allowSortCalc;
	}
	public void setAllowSortCalc(boolean allowSortCalc) {
		this.allowSortCalc = allowSortCalc;
	}
	public String getOriginal_item_id() {
		return original_item_id;
	}
	public void setOriginal_item_id(String original_item_id) {
		this.original_item_id = original_item_id;
	}
	public boolean isMyWork() {
		return myWork;
	}
	public void setMyWork(boolean myWork) {
		this.myWork = myWork;
	}
	public boolean isTodayWork() {
		return todayWork;
	}
	public void setTodayWork(boolean todayWork) {
		this.todayWork = todayWork;
	}
	public String getPname() {
		return pname;
	}
	public String getAttrs() {
		return attrs;
	}
	public void setAttrs(String attrs) {
		this.attrs = attrs;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getCreator_name() {
		return creator_name;
	}
	public void setCreator_name(String creator_name) {
		this.creator_name = creator_name;
	}
	public String getSharename() {
		return sharename;
	}
	public void setSharename(String sharename) {
		this.sharename = sharename;
	}
	public Integer getOriginal_data_source() {
		return original_data_source;
	}
	public void setOriginal_data_source(Integer original_data_source) {
		this.original_data_source = original_data_source;
	}

	public Boolean getShow_note() {
		return show_note;
	}
	public void setShow_note(Boolean show_note) {
		this.show_note = show_note;
	}
	public List<ItemData> getListItemData() {
		return listItemData;
	}
	public void setListItemData(List<ItemData> listItemData) {
		this.listItemData = listItemData;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
	@Override
	public Object clone() throws CloneNotSupportedException {
		// TODO Auto-generated method stub
		return super.clone();
	}
	@Override
	public String toString() {
		return "DoeisItemAssist [listItemData=" + listItemData + ", note="
				+ note + ", sharename=" + sharename + ", original_data_source="
				+ original_data_source + ", show_note=" + show_note 
				+ ", user_id=" + user_id + ", user_name=" + user_name
				+ ", creator=" + creator + ", creator_name=" + creator_name
				+ ", pname=" + pname + ", attrs=" + attrs + "]";
	}
}
